from utils.wrappers import fetch

from requests import Response
import pprint
import requests
from Apis import Apis
import logging
import pdb

@fetch
def getGameCardPage() -> Response:
    return requests.get(
        Apis.game_info_get_game_card_page, 
        params= {
            "pageNo" : 1,
            "order": 0
        }
    )

if __name__ == "__main__":
    logging.basicConfig(format='%(asctime)s - %(pathname)s[line:%(lineno)d] - %(levelname)s: %(message)s',
                        level=logging.DEBUG)
    pprint.pprint(getGameCardPage())